package com.mohe.shanpao.domain.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 菜单功能
 */
@Table(name = "sys_functions")
public class SysFunction
{
    @Id
    @Column(name = "id")
    private Long id;//编号
    
    @Column(name = "name")
    private String name;//名称
    
    @Column(name = "menu_id")
    private Long menuId;//菜单id
    
    @Column(name = "icon_url")
    private String iconUrl;//图标
    
    @Column(name = "url")
    private String url;//地址
    
    @Column(name = "description")
    private String description;//描述
    
    @Column(name = "priority")
    private Long priority;//菜单优先级
    
	@Column(name = "permission")
    private String permission;//权限
    
    @Column(name = "position")
    private Long position;//位置
    
    @Column(name = "clazzcls") //样式
    private String clazzcls;
	
    @Column(name = "create_time")
    private Date createTime;//创建时间
    
    public Long getId()
    {
        return id;
    }
    
    public void setId(Long id)
    {
        this.id = id;
    }
    
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public String getUrl()
    {
        return url;
    }
    
    public void setUrl(String url)
    {
        this.url = url;
    }

    
    public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public String getIconUrl() {
		return iconUrl;
	}

	public void setIconUrl(String iconUrl) {
		this.iconUrl = iconUrl;
	}

	public String getDescription()
    {
        return description;
    }
    
    public void setDescription(String description)
    {
        this.description = description;
    }
    
    public Long getPriority()
    {
        return priority;
    }
    
    public void setPriority(Long priority)
    {
        this.priority = priority;
    }
    
    public Date getCreateTime()
    {
        return createTime;
    }
    
    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }
    
    public String getPermission()
    {
        return permission;
    }

    public void setPermission(String permission)
    {
        this.permission = permission;
    }

    public String getClazzcls()
    {
        return clazzcls;
    }
    
    public void setClazzcls(String clazzcls)
    {
        this.clazzcls = clazzcls;
    }
    
    public Long getPosition()
    {
        return position;
    }
    
    public void setPosition(Long position)
    {
        this.position = position;
    }
    
}
